FROM openjdk:8

MAINTAINER congzhi

LABEL name="springboot-mybatis-image" vesion="1.0"  author="congzhi"
# 将宿主机当前目录jar copy到容器中
COPY spring-boot-mybatis.jar spring-boot-mybatis.jar

CMD ["java","-jar","spring-boot-mybatis.jar"]
# 指定端口
EXPOSE 8080 8080
